package org.ushio.nchu_22201402.controller;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import org.ushio.common_module.entity.Package_Sale;
import org.ushio.nchu_22201402.mapper.Package_SaleMapper;
import org.ushio.nchu_22201402.service.Package_SaleService0;

import java.util.List;

@RestController
@RequestMapping(value = "/nchu_22201402")
public class testController {

    @Autowired
    private Package_SaleService0 package_saleService0;

    @Autowired
    private Package_SaleMapper package_saleMapper;

    @GetMapping(value = "/test")
    public List<Package_Sale> listAll(){
        return package_saleService0.listAll();
    }

}